package com.example.demo.domain;

import com.tanx.cqrs.command.Command;
import com.tanx.cqrs.command.TargetAggregateIdentifier;
import lombok.Data;

/**
 *
 */
@Data
public class CompanySetName implements Command {
    @TargetAggregateIdentifier
    private String uuid;

    private String newName;

    public CompanySetName(String uuid, String newName) {
        this.uuid = uuid;
        this.newName = newName;
    }
}
